package com.leased.pojo;

import com.leased.request.BaseEntity;
import java.util.Date;

public class UserVerify extends BaseEntity {
    private Integer cuserId;

    private String cardCorrect;

    private String cardOpposite;

    private String cardHand;

    private String drivingCardPhoto;

    private String travelCardPhoto;

    private Integer checkStatue;

    private Date authUploadTime;

    private String authVerifyMsg;

    public Integer getCuserId() {
        return cuserId;
    }

    public void setCuserId(Integer cuserId) {
        this.cuserId = cuserId;
    }

    public String getCardCorrect() {
        return cardCorrect;
    }

    public void setCardCorrect(String cardCorrect) {
        this.cardCorrect = cardCorrect == null ? null : cardCorrect.trim();
    }

    public String getCardOpposite() {
        return cardOpposite;
    }

    public void setCardOpposite(String cardOpposite) {
        this.cardOpposite = cardOpposite == null ? null : cardOpposite.trim();
    }

    public String getCardHand() {
        return cardHand;
    }

    public void setCardHand(String cardHand) {
        this.cardHand = cardHand == null ? null : cardHand.trim();
    }

    public String getDrivingCardPhoto() {
        return drivingCardPhoto;
    }

    public void setDrivingCardPhoto(String drivingCardPhoto) {
        this.drivingCardPhoto = drivingCardPhoto == null ? null : drivingCardPhoto.trim();
    }

    public String getTravelCardPhoto() {
        return travelCardPhoto;
    }

    public void setTravelCardPhoto(String travelCardPhoto) {
        this.travelCardPhoto = travelCardPhoto == null ? null : travelCardPhoto.trim();
    }

    public Integer getCheckStatue() {
        return checkStatue;
    }

    public void setCheckStatue(Integer checkStatue) {
        this.checkStatue = checkStatue;
    }

    public Date getAuthUploadTime() {
        return authUploadTime;
    }

    public void setAuthUploadTime(Date authUploadTime) {
        this.authUploadTime = authUploadTime;
    }

    public String getAuthVerifyMsg() {
        return authVerifyMsg;
    }

    public void setAuthVerifyMsg(String authVerifyMsg) {
        this.authVerifyMsg = authVerifyMsg == null ? null : authVerifyMsg.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserVerify other = (UserVerify) that;
        return (this.getCuserId() == null ? other.getCuserId() == null : this.getCuserId().equals(other.getCuserId()))
            && (this.getCardCorrect() == null ? other.getCardCorrect() == null : this.getCardCorrect().equals(other.getCardCorrect()))
            && (this.getCardOpposite() == null ? other.getCardOpposite() == null : this.getCardOpposite().equals(other.getCardOpposite()))
            && (this.getCardHand() == null ? other.getCardHand() == null : this.getCardHand().equals(other.getCardHand()))
            && (this.getDrivingCardPhoto() == null ? other.getDrivingCardPhoto() == null : this.getDrivingCardPhoto().equals(other.getDrivingCardPhoto()))
            && (this.getTravelCardPhoto() == null ? other.getTravelCardPhoto() == null : this.getTravelCardPhoto().equals(other.getTravelCardPhoto()))
            && (this.getCheckStatue() == null ? other.getCheckStatue() == null : this.getCheckStatue().equals(other.getCheckStatue()))
            && (this.getAuthUploadTime() == null ? other.getAuthUploadTime() == null : this.getAuthUploadTime().equals(other.getAuthUploadTime()))
            && (this.getAuthVerifyMsg() == null ? other.getAuthVerifyMsg() == null : this.getAuthVerifyMsg().equals(other.getAuthVerifyMsg()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCuserId() == null) ? 0 : getCuserId().hashCode());
        result = prime * result + ((getCardCorrect() == null) ? 0 : getCardCorrect().hashCode());
        result = prime * result + ((getCardOpposite() == null) ? 0 : getCardOpposite().hashCode());
        result = prime * result + ((getCardHand() == null) ? 0 : getCardHand().hashCode());
        result = prime * result + ((getDrivingCardPhoto() == null) ? 0 : getDrivingCardPhoto().hashCode());
        result = prime * result + ((getTravelCardPhoto() == null) ? 0 : getTravelCardPhoto().hashCode());
        result = prime * result + ((getCheckStatue() == null) ? 0 : getCheckStatue().hashCode());
        result = prime * result + ((getAuthUploadTime() == null) ? 0 : getAuthUploadTime().hashCode());
        result = prime * result + ((getAuthVerifyMsg() == null) ? 0 : getAuthVerifyMsg().hashCode());
        return result;
    }
}